<template>
  <div class="g-layout flex flex-col justify-center items-center  ">
    <dark-mode-switch class="absolute right-0 top-0"></dark-mode-switch>
    <div class="w-96 flex flex-col justify-center items-center">
      <icon-logo class="mb-5 square-41"></icon-logo>
      <div class="mb-5">
        {{ $t("common.title") }}
      </div>
      <div class="mb-5">{{ $t("common.sayHello") }}</div>

      <div class="mb-5">
        <el-button class="bg-green-600" size="large" type="success" @click="()=>{router.push('/login')}">
          {{ $t("common.login.login") }}
        </el-button>
        <el-button class="bg-green-600" size="large" type="success" @click="()=>{router.push('/register')}">
          {{ $t("common.login.signUp") }}
        </el-button>

      </div>
    </div>


  </div>
</template>

<script lang="ts" setup>
import DarkModeSwitch from "@/components/headder/darkModeSwitch.vue";
import IconLogo from "@/components/icons/IconLogo.vue";
import router from "@/router";
</script>

<style scoped>

</style>
